
function getDate(now) {
    const week = ["日", "一","二", "三", "四", "五", "六"]
    return `${now.getFullYear()}年${now.getMonth()+1}月${now.getDate()}日 星期${week[now.getDay()]}`;
}

module.exports = getDate;